import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { HUAN_ZHE_A, HUAN_ZHE_B } from 'src/app/core/service';

@Component({
  templateUrl: './mycf.component.html',
  styleUrls: ['./mycf.component.scss']
})
export class MycfComponent implements OnInit {

  constructor(
    private router: Router
  ) { }

  hzA= HUAN_ZHE_A[0];
  hzB= HUAN_ZHE_B[0];

  toPage(url: string) {
    this.router.navigateByUrl(url);
  }

  changeLang(lang: string) {
  }

  ngOnInit() {
    console.log(this.hzA)
  }

}

 